import { isMobile } from '@/util/validate.js';

export const validateContacts = (rule, value, callback) => {
  let result = isMobile(value);
  if (!result) {
    callback(new Error('请输入正确的联系方式'));
  }
  callback();
};
